function route(handle, pathname, request, response) {

	if(typeof handle[pathname] === 'function') {

		handle[pathname](request, response);
	} else {

		console.log('404 not found.');
	}
}

exports.route = route;